package com.gym.code.generator.model.mapping.field;

import com.gym.code.generator.model.mapping.bean.EnumGenerateModel;

/**
 * 
 * @author xinchun.wang 
   @email: 532002108@qq.com
 * @createTime 2015-4-15 下午7:43:08
 */
public class ParameterFieldGenerateModel extends FieldGenerateModel implements Comparable<ParameterFieldGenerateModel> {
	private String orderStr = "0";
	private EnumGenerateModel enumGenerateModel;
	
	public String getOrderStr() {
		return orderStr;
	}

	public void setOrderStr(String orderStr) {
		this.orderStr = orderStr;
	}
	
	
	@Override
	public int compareTo(ParameterFieldGenerateModel o) {
		return orderStr.compareTo(o.orderStr);
	}

	public EnumGenerateModel getEnumGenerateModel() {
		return enumGenerateModel;
	}

	public void setEnumGenerateModel(EnumGenerateModel enumGenerateModel) {
		this.enumGenerateModel = enumGenerateModel;
	}
	
	
}
